@extends('layouts.back_stage')
@section('content')
    <script src="{{env('CDN_DOMAIN_NAME')}}/js/commonjs/jquery.select.js"></script>
    <script src="{{env('CDN_DOMAIN_NAME')}}/js/commonjs/jquery.page.js?v=1.0.3"></script>
    <style>
        .seek_p{width:100%;margin:0 auto;padding-top:10px;}
        .seek_lab{width:185px;line-height:30px;margin-right:10px;}
        .seek_sel{width:130px;height: 30px;line-height:30px;float:right;outline:none;font-size: 13px;padding:5px 10px;font-weight: normal;border-radius: 2px;color: #555;background:#fff;background-image: none;border: 1px solid #cfdadd;box-shadow: none;}
        .bt_del{text-align: center;display:inline-block;}
        .fabric-choose{width:100%;line-height:30px;height:30px;margin:20px auto;}
        .fabric_div1{width:100%;}
        .fabric_div2{width:100%;}
        .fabric_div2{margin-top:30px;}
        .tab1,.tab2{border-collapse:collapse;width:100%;font-size:14px;color:#383838;background:#fff;margin-bottom:10px;}
        table td{text-align:center;height:35px;}
        table,th,td{border:1px solid #ccc;}
        .oneTb,.twoTb{width:100%;overflow-y:hidden;}
        .one_tr{cursor:pointer;}
        .one_tr.in{background:#27c24c;color:#fff;}
        ::-webkit-scrollbar{width:5px;height:5px;}
        .colr{color:red;}
        .colb{color:#1aad1a;}
    </style>
    <script>
        //供应商
        var suppliers = [
            <?php $j = count($suppliers_arr);$i = 0; ?>
                @if($j>0)
                @foreach ($suppliers_arr as $k=>$v )'{{$v["name"]}}'<?php $i++;?> @if($i<$j),@endif
                @endforeach
                @endif
        ];
    </script>
    <div class="container">
        {{--采购通知单--}}
        <div style="padding:20px 0;"><h3>采购通知单</h3></div>
        <div class="form-group">
            <form>
                <p class="seek_p">
                    <label class="seek_lab" style="width:190px;">供应商：<input id="colorInput0" class="seek_sel supplier_name" type="text" autocomplete="off" autocorrect="off" placeholder="供应商" value="" /></label>
                    <button type="button" class="btn bt_del btn-info" onclick="grabble()">搜索</button>
                </p>
            </form>
        </div>
        <div class="fabric-choose">
            <span>共<span class="mate_count">0</span>条信息</span>
            <a class="btn btn-danger bt_a" href="javascript:;" onclick="Tversa()">反审</a>
            <a class="btn btn-info bt_a" href="javascript:;" onclick="Taudit()">审核</a>
            <a class="btn btn-info bt_a" href="javascript:;" onclick="planS()">打印</a>
            <a class="btn btn-info bt_a" href="javascript:;" onclick="Tedits()">修改</a>
            <a class="btn btn-info bt_a" href="javascript:;" onclick="Tadd()">添加</a>
        </div>
        <div class="form-group oneTb">
            <div class="fabric_div1">

            </div>
        </div>
        <span class="page1" style="float:right;"></span>
        <div style="width:100%;border-top:1px solid #ccc;float:right;height:1px;margin-top:15px;"></div>
        <div class="form-group twoTb">
            <div class="fabric_div2">

            </div>
        </div>
    </div>
    <script src="{{env('CDN_DOMAIN_NAME')}}/js/purNotice.js?v=1.0.5"></script>
@endsection
